display: Add display to displaymanager later
authorBenjamin Otte <otte@redhat.com>
Wed, 17 Apr 2013 21:56:22 +0000 (22:56 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 19 Apr 2013 20:18:25 +0000 (16:18 -0400)
commit01c6ecfb78bb36ec9ab65a30a5f9c25e4ba71bc3
treec0c3029c157de5776a2e0db22f114a207d66f7a4
parentc86ac95ebf53e0d132bcb87c19303c2e645c1488
display: Add display to displaymanager later

Instead of GdkDisplay::init, only add the display to the display manager
in GdkDisplay::opened. This avoids spurious changes of the default
display in gtk_init() when we're trying to find the one that works and
try to open lots of different ones.
gdk/gdkdisplay.c